package com.example.api.service;

import com.example.api.model.entity.Driver;
import com.example.api.model.support.RespBean;

import java.util.List;

public interface DriverService {

    RespBean save(Driver driver);

    RespBean update(Driver driver);

    RespBean delete(Integer id);

    Driver findById(Integer id);

    List<Driver> findAll(String name);

}
